regcases is package{
  main() do {
    X is "a string";
    
    case X in {
      `.*(s.*i:M).*` do{
        logMsg(info,"got #M");
        assert M="stri"
       }
      `a string` do
        logMsg(info,"got a string");
      D default do
        logMsg(info,"default case: $D");
    }
  }
}